﻿using B.S.Passport.ErrorCode;
using MediatR;

namespace B.S.Passport.Write.API.Application
{
    public class UpdatewhouseCommand:IRequest<ApiResult<object>>
    {
        public int WarehouseId { get; set; }
        /// <summary>
        /// 随机的仓库编号
        /// </summary>
        public string? WarehouseNumber { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 是否禁用该库位
        /// </summary>
        public bool? Disable { get; set; }

        /// <summary>
        /// 关联的仓库编号
        /// </summary>
        public int? WHouseId { get; set; }

        /// <summary>
        /// 库位类型编号
        /// </summary>
        public int? WHouseTypeId { get; set; }

        /// <summary>
        /// 是否为默认库位
        /// </summary>
        public bool? Defaultnot { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? isdelete { get; set; } = false;
    }
}
